// store/index.js
import Vue from 'vue';
import Vuex from 'vuex';
import collect from './modules/collect';
import nodepreview from './modules/nodepreview';

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    collect,
    nodepreview
  }
});